package com.svms.service.bo;

import java.util.List;

import com.svms.service.dml.iface.IndentDMLIF;
import com.svms.service.iface.IndentIF;
import com.svms.service.vo.IndentVO;

/**
 * @author om39a
 * 
 */
public class IndentBO implements IndentIF {

	IndentDMLIF indentDML;

	public IndentDMLIF getIndentDML() {
		return indentDML;
	}

	public void setIndentDML(IndentDMLIF indentDML) {
		this.indentDML = indentDML;
	}

	@Override
	public IndentVO insertNewindent(IndentVO indent) {
		IndentVO indentVO = indentDML.insertNewIndent(indent);
		return indentVO;
	}

	@Override
	public IndentVO editIndent(IndentVO indent) {
		IndentVO indentVO = indentDML.editIndent(indent);
		return indentVO;
	}

	@Override
	public IndentVO deleteindent(IndentVO indent) {
		IndentVO indentVO = indentDML.deleteIndent(indent);
		return indentVO;
	}

	@Override
	public IndentVO getIndent(IndentVO indent) {
		IndentVO indentVO = indentDML.getIndent(indent);
		return indentVO;
	}

	@Override
	public List<IndentVO> getIndentList() {
		List<IndentVO> indents = indentDML.getIndentList();
		return indents;
	}

}
